import { CatDir } from "./GameDefine";

/**
 * 游戏常量
 * @Author: lzmxqh  
 * @Date: 2022-10-17 14:15:53  
 * @Last Modified by: lzmxqh
 * @Last Modified time: 2022-10-23 22:23:04
 */
export class GameConst {
    /**背景宽 */
    public static BG_W: number = 1100;

    /**背景高 */
    public static BG_H: number = 860;

    /**总行数 */
    public static ROW: number = 11;

    /**总列数 */
    public static COL: number = 11;

    /**地图块行间距 */
    public static GAP_ROW: number = 62;

    /**地图块列间距 */
    public static GAP_COL: number = 75;

    /**地图块半径 */
    public static RADIUS: number = 34;

    /**初始地块选择随机值 */
    public static RANDOM_NUM: number = 5;

    /**小猫方向集合 */
    public static CAT_DIRS: CatDir[] = [
        CatDir.LEFT,
        CatDir.RIGHT,
        CatDir.TOP_LEFT,
        CatDir.TOP_RIGHT,
        CatDir.BOTTOM_LEFT,
        CatDir.BOTTOM_RIGHT,
    ];
}